﻿import { post, put, get } from '@/utils/httpUtils/httpRequest'

export const sysPlatformColumns = [
	{
		title: '标识',
		dataIndex: 'uUid',
	},
	{
		title: '昵称',
		dataIndex: 'nickName',
	},
	{
		title: '推广微信二维码',
		dataIndex: 'qrCode',
		align: 'center',
		scopedSlots: { customRender: 'qrCode' },
	},
	
	// {
	// 	title: '推广链接',
	// 	dataIndex: 'linkUrl',
	// 	align: 'center',
	// },
	{
		align: 'center',
		width:'160px',
		title: "操作",
		dataIndex: "action",
		scopedSlots: { customRender: "action" },
	},
];

export const addSysPlatform = (parameter) => post('api/sysPlatform/add', parameter)
export const deleteSysPlatform = (parameter) => post('api/sysPlatform/delete', parameter)
export const updateSysPlatform = (parameter) => put('api/sysPlatform/update', parameter)
export const getSysPlatform = (parameter) => get('api/sysPlatform/get', parameter)
export const getSysPlatformList = (parameter) => get('api/sysPlatform/getList', parameter)
export const querySysPlatformPage = (parameter) => get('api/sysPlatform/queryPage', parameter)
